package com.whale.cloud.util.jdbc;

import com.whale.cloud.util.jdbc.JdbcClient;
import io.swagger.annotations.Scope;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

/**
 * Created by paco on 2017/06/08.
 */
@Component
@Scope(name = "prototype",description = "")
public class JdbcDataEngine {

    @Autowired
    @Qualifier("primaryJdbcClient")
    private JdbcClient jdbcClient;

    public JdbcClient getJdbcClient(){
        return this.jdbcClient;
    }
}
